89048735c2bf7ca3f150efd424ac613dccf24608,plugins/com.gwtplugins.gwt.eclipse.core.test.swtbot/src/com/google/gwt/eclipse/core/test/swtbot/DebugConfigurationSuperDevModeTest.java,DebugConfigurationSuperDevModeTest,testCreatingLauncherWithJetty1,#,53

Before Change


    SwtBotProjectDebug.launchGWTDevModeWithJettyThenTerminateIt(bot, PROJECT_NAME);

    // When I get the arguments for super dev mode config
    String persistedArgs = SwtBotProjectDebug.getTheProgramArgsTextBox(bot).getText();

    // And close the debug configuration dialog
    bot.button("Close").click();
    // And closing may cause a save change dialog
    SwtBotProjectDebug.closeSaveChangesDialogIfNeedBe(bot);

    // Then the args should be
    assertTrue(persistedArgs.contains("com.example.project.Project"));

After Change


    SwtBotProjectDebug.launchGWTDevModeWithJettyThenTerminateIt(bot, PROJECT_NAME);

    // When I get the arguments for super dev mode config
    String persistedArgs = SwtBotProjectDebug.getTheProgramArgsTextBox(bot);

    // Then the args should be
    assertTrue(persistedArgs.contains("com.example.project.Project"));